﻿#ifndef FRMCONTROL_H
#define FRMCONTROL_H

#include <QWidget>
#include <QNetworkAccessManager>
#include <QNetworkReply>

namespace Ui {
class FrmControl;
}

class FrmControl : public QWidget
{
    Q_OBJECT

public:
    explicit FrmControl(QWidget *parent = nullptr);
    ~FrmControl();

private:
    Ui::FrmControl *ui;
    QNetworkAccessManager *manager;  //请求句柄
public slots:
    void replyFinished(QNetworkReply *reply);
private slots:
    void on_btnHello_clicked();
    void on_btnList_clicked();
    void on_btnJson_clicked();
};

#endif // FRMCONTROL_H
